﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.RecurringJobs.Dto.YCLWLJGZSYC
{
    public class YCLWLJGZSYCChildDto
    {
        /// <summary>
        /// 年月:202201 2023Q3 2023H1
        /// </summary>
        [JsonProperty(PropertyName = "MONTH_ID")]
        public string MONTH_ID { get; set; }

        /// <summary>
        /// 事业群:IU/TU
        /// </summary>
        [JsonProperty(PropertyName = "DEPT")]
        public string DEPT { get; set; }

        /// <summary>
        /// 物料一级分类ID
        /// </summary>
        [JsonProperty(PropertyName = "CATEGORY_ID")]
        public string CATEGORY_ID { get; set; }

        /// <summary>
        /// 物料一级分类描述
        /// </summary>
        [JsonProperty(PropertyName = "CATEGORY")]
        public string CATEGORY { get; set; }

        /// <summary>
        /// 物料二级分类ID
        /// </summary>
        [JsonProperty(PropertyName = "SUB_CATEGORY_ID")]
        public string SUB_CATEGORY_ID { get; set; }

        /// <summary>
        /// 物料二级分类描述
        /// </summary>
        [JsonProperty(PropertyName = "SUB_CATEGORY")]
        public string SUB_CATEGORY { get; set; }

        /// <summary>
        /// 物料三级分类ID
        /// </summary>
        [JsonProperty(PropertyName = "CHILD_CATEGORY_ID")]
        public string CHILD_CATEGORY_ID { get; set; }

        /// <summary>
        /// 物料三级分类描述
        /// </summary>
        [JsonProperty(PropertyName = "CHILD_CATEGORY")]
        public string CHILD_CATEGORY { get; set; }

        /// <summary>
        /// 占比 用户填的数据 对应YCLWLJGZSYCDetail表的num1 num2
        /// </summary>
        [JsonProperty(PropertyName = "RATIO")]
        public decimal? RATIO { get; set; }

        [JsonProperty(PropertyName = "AddTime")]
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 维护类型
        /// </summary>
        [JsonProperty(PropertyName = "MaintenanceType")]
        public int MaintenanceType { get; set; }

        /// <summary>
        /// 大类负责人ID
        /// </summary>
        [JsonProperty(PropertyName = "CATEGORY_MANAGER_CODE")]
        public string CATEGORY_MANAGER_CODE { get; set; }

        public string InstanceNumber { get; set; }
    }
}
